-- GENERATED SPELL FOR [Island Shoveltusk] --


function spell0_24681(pUnit, Event) --@Gore,n/a--
pUnit:FullCastSpellOnTarget(32019,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_24681', 15000, 1)
end

function Sorts_24681(pUnit, Event)
local choix_sorts_24681 = math.random(0, 0)
if choix_sorts_24681 == 0 then
pUnit:RegisterEvent('spell0_24681', 1, 1)
end
end

function mob24681_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_24681', math.random(1500, 3000), 1)
end

function mob24681_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24681_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24681_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(24681, 1, 'mob24681_Action')
RegisterUnitEvent(24681, 2, 'mob24681_Leave')
RegisterUnitEvent(24681, 3, 'mob24681_Kill')
RegisterUnitEvent(24681, 4, 'mob24681_Die')
